package com.itheima.tanhua.api.mongo;

import com.itheima.tanhua.pojo.mongo.Friend;

import java.util.List;

/**
 * @author 芝士雪豹
 * @create 2022/9/28/19:46
 */
public interface FriendApi {
    void save(Long id, Long friendId);
    //查询好友信息
    List<Friend> findByUserId(Long id, Integer page, Integer pagesize);
}
